package org.sn.jdish.spring.springboot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.annotations.ApiOperation;

/**
 * springboot helloworld
 * 
 * @author snzigod@hotmail.com
 */
@RestController
@RequestMapping("/demo")
public class DemoController {

	@ApiOperation(value = "helloworld", notes = "")
	@RequestMapping(value = "/helloworld", method = RequestMethod.GET)
	String home() {
		return "Hello World!";
	}

}